package com.qgs.waf.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qgs.waf.mapper.CustomerMapper;
import com.qgs.waf.model.Customer;
import com.qgs.waf.service.ZbksCustomerService;
import com.qgs.waf.util.JSonUtil;

/**
 * @show 综合情况,数据从redis拉取
 * @author Administrator
 *
 */
@Service(value="zbksCustomerServiceImpl")
public class ZbksCustomerServiceImpl implements ZbksCustomerService {
	@Resource
	private CustomerMapper customerMapper;

	@Override
	public String list(Customer customer) {
		List<Customer> ls = customerMapper.select(customer);
		return JSonUtil.object2JSon(ls);
	}

}
